<?php
    require_once '../config.php';
    include '_header.php';
?>

<h1>Documentation</h1>
        
<div>
    Before starting, <a href="<?php echo $config['path']; ?>manage/register.php">sign up for an FHPI key</a>.
</div>        

<div class="msg info">
    Make sure to always use HTTPS. This way, both GET- and POST-data leave your computer encrypted.<br />
    The documentation shows how to use GET-Parameters. The service works the same way using POST.
</div>

<div>
    <h2>Contents</h2>
    <a href="#status">1. Status</a><br />
    <a href="#schedule">2. Schedule</a><br />
    <a href="#marks">3. Marks</a><br />
    <a href="#exams">4. Exams</a><br />
    <a href="#news">5. News</a><br />
</div>

<?php
    // Status
    include 'doc/part1.php';
    // Schedule
    include 'doc/part2.php';
    // Marks
    include 'doc/part3.php';
    // Exams
    include 'doc/part4.php';   
    // News
    include 'doc/part5.php';
?>


            
<?php
    include '_footer.php';
?>